//
//  GXDPDetCell.m
//  YaDiuDiu
//
//  Created by 欧洪飞 on 2017/8/24.
//  Copyright © 2017年 jy. All rights reserved.
//

#import "GXDPDetCell.h"

@implementation GXDPDetCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (IBAction)clickRelease:(id)sender {
    if (_num>0) {
        _num -=1;
        _labNum.text = [NSString stringWithFormat:@"%li",_num];
    }
    
    
}

- (IBAction)clickAdd:(id)sender {
    _num +=1;
    _labNum.text = [NSString stringWithFormat:@"%li",_num];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
